﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace ASoft.Led
{
    [DataContract]
    public class LedDriveCfg
    {
        [DataMember]
        public bool Enabled { get; set; }

        [DataMember]
        public int SwitchSecond { get; set; }

        [DataMember]
        public string Ip { get; set; }

        [DataMember]
        public ushort Port { get; set; }

        /// <summary>
        /// 等待应答时间
        /// </summary>
        [DataMember]
        public uint Timeo { get; set; }

        /// <summary>
        /// 失败重发次数
        /// </summary>
        [DataMember]
        public uint Repeat { get; set; }

    }
}
